package com.zxkj.commonpatrol.model.response;

import java.util.List;

public class DevEvtPatrolInfoResponse {
    public int QuestTotal;
    public List<DevEvtPatrolQuest> DevEvtQuests;   //设备问题巡检信息列表
    public DevEvtQuestDashboard DevEvtQuestStatisInfo; //设备问题巡检的统计信息

    public int getQuestTotal() {
        return QuestTotal;
    }

    public void setQuestTotal(int questTotal) {
        QuestTotal = questTotal;
    }


    public List<DevEvtPatrolQuest> getDevQuests() {
        return DevEvtQuests;
    }

    public void setDevQuests(List<DevEvtPatrolQuest> devQuests) {
        DevEvtQuests = devQuests;
    }

    public static class DevEvtPatrolQuest {
        public boolean isExpand;

        public boolean isExpand() {
            return isExpand;
        }

        public void setExpand(boolean expand) {
            isExpand = expand;
        }

        public int QuestPatrolResult;//问题巡检结果(0:pedding 1:completed)
        public List<String> Exceptions;  //问题的异常信息列表
        public String QuestCode;  //问题编号

        public int getQuestPatrolResult() {
            return QuestPatrolResult;
        }

        public void setQuestPatrolResult(int questPatrolResult) {
            QuestPatrolResult = questPatrolResult;
        }

        public List<String> getExceptions() {
            return Exceptions;
        }

        public void setExceptions(List<String> exceptions) {
            Exceptions = exceptions;
        }

        public String getQuestCode() {
            return QuestCode;
        }

        public void setQuestCode(String questCode) {
            QuestCode = questCode;
        }

        public String getQuestName() {
            return QuestName;
        }

        public void setQuestName(String questName) {
            QuestName = questName;
        }

        public int getQuestIndex() {
            return QuestIndex;
        }

        public void setQuestIndex(int questIndex) {
            QuestIndex = questIndex;
        }

        public String getLastPatrolUser() {
            return LastPatrolUser;
        }

        public void setLastPatrolUser(String lastPatrolUser) {
            LastPatrolUser = lastPatrolUser;
        }

        public String getLastPatrolDateTime() {
            return LastPatrolDateTime;
        }

        public void setLastPatrolDateTime(String lastPatrolDateTime) {
            LastPatrolDateTime = lastPatrolDateTime;
        }

        public String getLastPatrolUserPhone() {
            return LastPatrolUserPhone;
        }

        public void setLastPatrolUserPhone(String lastPatrolUserPhone) {
            LastPatrolUserPhone = lastPatrolUserPhone;
        }

        public String QuestName;  //问题名称
        public int QuestIndex;          //问题排序序号
        public String LastPatrolUser;  //上次巡检人
        public String LastPatrolDateTime;  //上次巡检日期时间(yyyy/MM/dd hh:mm)
        public String LastPatrolUserPhone;  //上次巡检人的联系电话
    }


    public DevEvtQuestDashboard getDevQuestStatisInfo() {
        return DevEvtQuestStatisInfo;
    }

    public void setDevQuestStatisInfo(DevEvtQuestDashboard devQuestStatisInfo) {
        DevEvtQuestStatisInfo = devQuestStatisInfo;
    }


    public static class DevEvtQuestDashboard {
        public int All;          //设备问题集所包含的问题总数
        public int Completed;   //已经巡查而且为正常的设备问题数量
        public int Pending;    //未巡检或者有异常的设备问题数量

        public int getAll() {
            return All;
        }

        public void setAll(int all) {
            All = all;
        }

        public int getCompleted() {
            return Completed;
        }

        public void setCompleted(int completed) {
            Completed = completed;
        }

        public int getPending() {
            return Pending;
        }

        public void setPending(int pending) {
            Pending = pending;
        }
    }


}
